using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;

namespace Clanta.Tests.Domain
{
    public class TestHelper
    {
        public static bool HasDefaultConstructor(Type type)
        {
            return type.GetConstructor(
                BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic,
                Type.DefaultBinder,
                Type.EmptyTypes,
                null) != null;
        }
    }
}
